package cn.itsource.org.mapper;



import cn.itsource.org.domain.User;
import cn.itsource.org.query.UserQuery;

import java.util.List;

/**
* @author huawei
* @description 针对表【tb_user(用户信息表)】的数据库操作Mapper
* @createDate 2024-06-02 10:47:06
* @Entity cn.itsource.domain.User
*/

public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> getAll(UserQuery userQuery);


    void deleteAll(List<User> u);

    void delete(Long id);

    User exits(String username);
}
